IsValidID
The IsValidID method returns a Boolean value that indicates whether the specified object ID is valid.
ODBoolean IsValidID (in ODID id);
id
- The object ID.
- return value
kODTrue
if the specified object ID is valid, otherwisekODFalse
.DISCUSSION
You should call this method after the end of a cloning transaction and before using an ID returned by theClone
orWeakClone
method during that transaction.The
id
parameter is an ID returned by theClone
orWeakClone
method during the recent cloning transaction. If the corresponding object was not strongly cloned during the transaction, the ID is now invalid and should not be used.SEE ALSO
TheODID
type (page 899).
TheODDraft::Clone
method (page 162).
TheODDraft::WeakClone
method (page 185).
"EndClone" on page 325 in OpenDoc Programmer's Guide.
"Reading Links for Data Transfer" on page 395 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help